package com.wn55.hrms.service.vo;

import com.wn55.hrms.entity.Dept;
import com.wn55.hrms.entity.Position;
import com.wn55.hrms.entity.Role;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class EmployeeVo implements Serializable {
    private Long id;
    private Integer pId;
    private Integer deptId;
    private String empCode;
    private String empName;
    private Integer empType;
    private String empPassword;
    private String avatar;
    private String personalEmail;
    private String personalPhone;
    private String locked;
    private Date joinTime;
    private Date insertTime;
    private Date updateTime;
    private Date probationPeriodBegin;
    private String roleIds ; //接收选中的角色ID
    private Position position;
    private Dept dept;

    //增加一个属性   当前管理员 拥有的角色
    private List<Role> roles ;
}
